<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<meta name="apple-themes-web-app-capable" content="yes">
		<meta content="yes" name="apple-mobile-web-app-capable">
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no" name="format-detection">
		<meta content="email=no" name="format-detection">
		<meta name="format-detection" content="telephone=no">
		<title>夺宝记录</title>
		<link rel="stylesheet" href="css/main.css" type="text/css" media="all">
	</head>

	<body>

 	<!--页面加载 开始-->
     <div id="preloader">
     <div id="status">
      <p class="center-text"><span>拼命加载中···</span></p>
     </div>
    </div>
    <!--页面加载 结束-->
		<header id="header">
			<div class="header_con">
				<a href="javascript:history.go(-1);"><span></span></a>
                <div class="top_tit">夺宝记录</div>
			</div>
		</header>

		<div id="content_div" >
            <div class="yy_jl_tit">
             <a class="change_c"><span>全部</span></a><a><span>进行中</span></a><a><span>已开奖</span></a></h2>
            </div>
            <div class="yy_jl_box">

             @foreach($rows as $v)
{{--                 @if($v->status == 1)--}}
             <div class="yy_jl_db">

              <ul>
              @if($v->winner == session('login_name'))
              <i></i>
              @endif
               <img src="{{$v->img}}" />
               <li>
                <h2>{{$v->name}}</h2>
                 <p><span>期</span>号：{{$v->issueNumber}}</p>
                 <p><em>获</em><em>奖</em>者：
                     @if($v->status == 0)
                     <label>{{$v->winner}}</label>
                     @elseif($v->status == 1)
                     <label>{{$v->winner}}</label>
                     @elseif($v->status == 2)
                     <label>{{$v->join}}人次</label>
                     @endif
                     （本期参与{{$v->need}}人次）</p>
                 <p>幸运号码：
                     @if($v->status == 0)
                         <label>{{$v->luckyNumber}}</label>
                     @elseif($v->status == 1)
                         <label>{{$v->luckyNumber}}</label>
                     @elseif($v->status == 2)
                         <label>--</label>
                     @endif
                 </p>
                 <p>参与人次： 潇洒哥</p>
                 <p>幸运号码： 今天12:30</p>
               </li>
              </ul>

               <dl class="clearfixd">
                   <a href="xq{{$v->id}}"><dd><i class="et_ib01"></i>查看详情</dd></a>
                   @if($v->status == 0)
                     <dd class=""><i class="et_ib03"></i>暂无更新</dd>
                   @elseif($v->status == 1)
                       <a href="xq{{$v->id}}"><dd class="xz_a"><i class="et_ib02"></i>参与最新</dd></a>
                   @elseif($v->status == 2)
                       <a href="xq{{$v->id}}"><dd class="xz_a"><i class="et_ib02"></i>我来包尾</dd></a>
                   @endif
                 </dl>

             </div>
             @endforeach


            </div>




      </div>
            <!--底部-->
			<!--底部结束-->

           <script type="text/javascript" src="js/jquery.min.js"></script>
		  <script type="text/javascript" src="js/common.js"></script>
	</body>

</html>
